import { FormRule } from 'tdesign-vue-next';

export const INITIAL_DATA = { username: '', password: '', captcha: '', captcha_id: '' };

export const FORM_RULES: Record<string, FormRule[]> = {
  username: [{ required: true, message: '请输入账号', trigger: 'blur' }],
  password: [{ required: true, message: '请输入密码', trigger: 'blur' }],
  captcha: [{ required: true, message: '请输入验证码', trigger: 'blur' }],
};
